<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
	<jsp:include page="a_head.htm"/>
   </head>

<body >
  <table  align="center" id="breite" cellspacing="0" cellpadding="0" border="0"  >
    <tr>
      <td align="center" width="100%"   >
		
		<!--schatten um die seite oben -->
        <table width="100%" align="center"      border="0" cellpadding="0" cellspacing="0">
			<tr>
			 <td valign="top" id="s1" ><img src="images/pixelspace.gif" width="50" height="50" border="0" alt=""></td>
			 <td id="s2"><img src="images/pixelspace.gif" width="50" height="50" border="0" alt=""></td>
			 <td id="s3" ><img src="images/pixelspace.gif" width="50" height="50" border="0" alt=""></td>
			</tr>
			<tr>
			 <td valign="top" id="s4" ><img src="images/pixelspace.gif" width="50" height="50" border="0" alt=""></td>
			 <td class="haupt"    width="100%">
		<!--ende schatten um die seite oben -->


		<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  			<tr>
     			<td colspan="3" id="top0" >&nbsp;</td>
  			</tr>
  			<tr>
     			<td valign="top">
					<table width="100%"  border="0" cellpadding="0" cellspacing="0">
 						<tr>
						    <td valign="top" id="top1" width="33%">
						       &nbsp;
						    </td>

							<td valign="top" id="top2" width="33%" >
								<jsp:include page="a_top_menu.htm"/>
  							</td>
						    <td  valign="top"  id="top3" width="33%">
						    	  &nbsp;
						  	</td>
 						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td colspan="3"  id="top4"><div id="name">*** Go Green - share your car! ***</div></td>
			</tr>
			<tr>
				<td colspan="3"  id="inhalt"  >
<div id="content">
		<h2><c:out value="${title}"/></h2>
		<p><c:out value="${message}"/></p>
		
		<form method="post" action="SaveFahrt.html">
			<table class="editing">
				<colgroup>
					<col class="attribute"/>
					<col class="value"/>
				</colgroup>
				<tbody>
					<tr>
						<td>Fahrzeug:</td>
						<td>
							<input type="hidden" name="autoID" value='<c:out value="${automobil.id}"/>'/>
							<c:out value="${automobil.kennzeichen}"/>
						</td>
					</tr>
					<tr>
						<td>Teilnehmer:</td>
						<td>
							<select name="tnID">
								<c:forEach items="${teilnehmer}" var="teilnehmer">
									<option value="${teilnehmer.id}">${teilnehmer.vorname} ${teilnehmer.nachname}; ${teilnehmer.strasse}; ${teilnehmer.plz} ${teilnehmer.ort}</option>					
								</c:forEach>
							</select>
						</td>
					</tr>
					<tr class="submit">
						<td colspan="2">
							<input type="submit" value=" Fahrt eintragen "/>
							<input type="button" value=" Abbrechen " onclick="location.href = 'index.html'"/>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
				</td>
 			</tr>
		 </table>

	<jsp:include page="a_bottom_menu.htm"/>

 </body>
</html>